<h1>Listing article_contents</h1>

<table>
  <tr>
    <th>Article</th>
    <th>Content</th>
  </tr>

<% for article_content in @article_contents %>
  <tr>
    <td><%=h article_content.article %></td>
    <td><%=h article_content.content %></td>
    <td><%= link_to 'Show', article_content %></td>
    <td><%= link_to 'Edit', edit_article_content_path(article_content) %></td>
    <td><%= link_to 'Destroy', article_content, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New article_content', new_article_content_path %>
